package com.neuedu.cockpit.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.neuedu.common.annotation.Excel;
import com.neuedu.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 车辆管理信息对象 hm_car_info
 *
 * @author neuedu
 * @date 2024-04-22
 */
@Data
public class HmCarInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    @TableField(exist = false)
    private String nickName;

    /**
     * 车辆名称
     */
    @Excel(name = "车辆名称")
    private String carName;

    /**
     * 车辆品牌
     */
    @Excel(name = "车辆品牌")
    private String brand;

    /**
     * 车辆图片地址
     */
    @Excel(name = "车辆图片地址")
    private String carPic;

    /**
     * 车架号
     */
    @Excel(name = "车架号")
    private String carVin;

    /**
     * 马力值
     */
    @Excel(name = "马力值")
    private Long horsePower;

    /**
     * 最大功率
     */
    @Excel(name = "最大功率")
    private Long maxPower;

    /**
     * 最大扭矩
     */
    @Excel(name = "最大扭矩")
    private Long maxTorque;

    /**
     * 长宽高
     */
    @Excel(name = "长宽高")
    private String carSize;

    private String nfc;

    /**
     * 轴距
     */
    @Excel(name = "轴距")
    private Long wheelBase;

    /**
     * 前轴距
     */
    @Excel(name = "前轴距")
    private Long frontWheelBase;

    /**
     * 后轴距
     */
    @Excel(name = "后轴距")
    private Long backWheelBase;

    /**
     * 电池电量
     */
    @Excel(name = "电池电量")
    private Long batteryPower;

    /**
     * 续航里程
     */
    @Excel(name = "续航里程")
    private Long enduranceMileage;

    /**
     * 百公里耗电
     */
    @Excel(name = "百公里耗电")
    private Long kmh;

    /**
     * 电池编码
     */
    @Excel(name = "电池编码")
    private String batteryCode;

    /**
     * 电池类型
     */
    @Excel(name = "电池类型")
    private String batteryType;

    /**
     * 电池容量
     */
    @Excel(name = "电池容量")
    private Long batteryCapacity;

    /**
     * 额定电压
     */
    @Excel(name = "额定电压")
    private Long nominalVoltage;

    /**
     * 额定电流
     */
    @Excel(name = "额定电流")
    private Long ratedCurrent;

    private Long totalTripNum;

    private Long totalTripMile;

    @JsonFormat(pattern = "yyyy-MM",timezone="GMT+8")
    @ApiModelProperty("制造年月")
    private Date createYm;
    /**
     * 工作温度
     */
    @Excel(name = "工作温度")
    private Long workingTemperature;

    private String delFlag;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;

}
